beginoutdoorscript;
variables;
int choice;
body;
beginstate 0;

break;
beginstate 1;

break;
beginstate 2;

break;
beginstate 10;
       reset_dialog();
       add_dialog_str(0, "You see a very large army of vahnatai warriors, led by a vahnatai keeper.", 0);
       add_dialog_str(1, "As you approach, most of them draw their weapons. They haven't attacked you yet, but they could do it any minute.", 0);
       add_dialog_str(2, "What do you do?", 0);
       add_dialog_choice(0, "Attack the army.");
       add_dialog_choice(1, "Attempt to greet their leader.");
       choice = run_dialog(1);
       if (choice == 1) {
              message_dialog("You draw your blades. The vahnatai keeper yells something to the troops which makes them charge against you.", "Fleeing these fast creatures would be impossible now, so you have no other choice than stay and fight!");
              outdoor_enc_result(0);
              }
       if (choice == 2) {
              message_dialog("You say _Hello!_ The vahnatai keeper says _Hello!_, and then carries on with his troops.", "This was one of the most short and one of the most bizarre conversations you've ever had.");
              outdoor_enc_result(2);
              }
break;
beginstate 11;
       message_dialog("First, you think you have found a pack of crickets.", "Then, when you see the webs, you realize what is about to attack you: Chitraches.");
break;
beginstate 12;
       message_dialog("You find the chitrach nest, which is filled with bug eggs, most quite big.", "They can't be eaten. Bug eggs are in general very poisonous.");
break;
beginstate 13;
       message_dialog("Because this hydra has new hatchlings, it has more than twice as much courage as usual. It doesn't search sanctuary from the water.", "Instead, it attacks you.");
break;
beginstate 14;
       if (get_flag(212, 4) == 0) {
       reset_dialog();
       add_dialog_str(0, "There's a small group of vahnatai warriors, led by a vahnatai blademaster. They're about to make an ugly surprise for a group of giants that were hiding in this cave before the Vahnatai arrived.", 0);
       add_dialog_str(1, "You suddenly realize why these vahnatai are about to do attack. The giants seem to have stolen a pouch from the vahnatai with crystals in it.", 0);
       add_dialog_str(2, "There are several giant shamans in the group that the vahnatai clearly haven't spotted yet. The vahnatai would surely lose to the giants. Do you help them?", 0);
       add_dialog_choice(0, "Aid the vahnatai.");
       add_dialog_choice(1, "Flee the place.");
       choice = run_dialog(1);
       if (choice == 1) {
              message_dialog("You draw your blades. The vahnatai blademaster seems to be confused when you give chase to the giants.", "The giants don't seem to be happy for having both humans and the Vahnatai fight them.");
              create_out_spec_enc(0);
              }
       if (choice == 2) {
              message_dialog("You flee the place. The battle seems to have started. Heavy bashing and shouting come from the giant's camp.", "Too bad you didn't stay and fight.");
              message_dialog("Now that the vahnatai are dead, the giants collect their remaining power, to attack you!", "You had no idea that they knew you were here!");
              create_out_spec_enc(1);
              }
       }
break;
beginstate 15;
       message_dialog("When the last one of the giants falls to the ground, the Vahnatais try to talk to you. No-one of them seem to know how to speak English.", "However, one of them walks bravely up to you and says, slowly but clearly: _Gherbag ferry 'prossis' password come in greetings._");
       set_flag(212, 4, 1);
break;